-- GENERATED SPELL FOR [Mosshide Alpha] --


function spell0_1014(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(9128,pUnit)
pUnit:RegisterEvent('Sorts_1014', 600, 1)
end

function Sorts_1014(pUnit, Event)
local choix_sorts_1014 = math.random(0, 0)
if choix_sorts_1014 == 0 then
pUnit:RegisterEvent('spell0_1014', 1, 1)
end
end

function mob1014_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1014', math.random(1500, 3000), 1)
end

function mob1014_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1014_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1014_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1014, 1, 'mob1014_Action')
RegisterUnitEvent(1014, 2, 'mob1014_Leave')
RegisterUnitEvent(1014, 3, 'mob1014_Kill')
RegisterUnitEvent(1014, 4, 'mob1014_Die')
